﻿using Application.Service.Contract;
using Solar.Core;
using Application.Domain;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System;
using System.Web;
using System.Configuration;
using System.IO;
using Solar.Infrastructure;

namespace Application.Service
{
    public class ProductService
    {
        public void AddProduct()
        {
            using (var _repository = DomainRepository.Open())
            {
                var category = _repository.Get<Category>(w => w.Id == 1);
                
                
            }
        }
    }
}

